package com.pet.bean;

import java.io.Serializable;

public class Pet implements Serializable {
    private static final long serialVersionUID = 1L;
    private  Integer pet_id;
    private String name;
    private Integer owner_id;
    private Integer store_id;
    private double worth;
    private String type;

    public Pet(Integer pet_id, String name, Integer store_id, Integer owner_id, double worth, String type) {
        this.pet_id = pet_id;
        this.name = name;
        this.owner_id = owner_id;
        this.store_id = store_id;
        this.worth = worth;
        this.type = type;
    }

    public Pet(String name, Integer owner_id, Integer store_id, double worth, String type) {
        this.name = name;
        this.owner_id = owner_id;
        this.store_id = store_id;
        this.worth = worth;
        this.type = type;
    }

    public Pet() {
    }

    public Integer getPet_id() {
        return pet_id;
    }

    public void setPet_id(Integer pet_id) {
        this.pet_id = pet_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOwner_id() {
        return owner_id;
    }

    public void setOwner_id(Integer owner_id) {
        this.owner_id = owner_id;
    }

    public Integer getStore_id() {
        return store_id;
    }

    public void setStore_id(Integer store_id) {
        this.store_id = store_id;
    }

    public double getWorth() {
        return worth;
    }

    public void setWorth(double worth) {
        this.worth = worth;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "pet_id=" + pet_id +
                ", name='" + name + '\'' +
                ", store_id=" + store_id +
                ", owner_id=" + owner_id +
                ", worth=" + worth +
                ", type='" + type + '\'' +
                '}';
    }
}
